package com.test.demo.mapper;

import com.test.demo.po.Team;

import java.util.List;

public interface TeamMapper {
    int deleteByPrimaryKey(Integer teamId);

    int insert(Team record);

    int insertSelective(Team record);

    Team selectByPrimaryKey(Integer teamId);

    int updateByPrimaryKeySelective(Team record);

    int updateByPrimaryKey(Team record);

    int addTeamMember(int teamId);

    int decreaseTeamMember(int teamId);

    List<Team> searchTeam(String keyword);

    List<Team> getAllTeams();
}